/**
 * Created by Administrator on 2015/5/24.
 * CRUD SQL语句
 */
var user = {
    insert:'INSERT INTO user(id, name, age) VALUES(0,?,?)',
    update:'update user set name=?, age=? where id=?',
    delete: 'delete from user where id=?',
    queryById: 'select * from user where id=?',
    queryAll: 'select * from user limit ?,?',
    queryCount:'select count(id) as count from user'
};

module.exports = user;
